﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HelloMinasan.Web.ViewModels
{
    public class MemberListSearchModel
    {
        public MemberListSearchModel()
        {
            SearchFrom = "MYMEMBERS";
            ListMembers = new List<MemberInfoItemModel>();
            GenderName = "ANY";
            Orderby = "NAME";
            Direction = "Asc";
            CurrentPage = 1;
            IsSearchAllHelloMinasan = false;
            IsFinder = true;
            AgeFrom = 0;// 20;
            AgeTo = 100;// 50;
            IsMemberSearch = false;
            AnyAge = true;
            HasMember = false;
        }
        public int PageNum { get; set; }
        public int PageSize { get; set; }
        public int TotalRecords { get; set; }
        public int CurrentPage { get; set; }
        public List<MemberInfoItemModel> ListMembers { get; set; }
        public string SearchFrom { get; set; }
        public string Name { get; set; }
        public string FirstName { get; set; }
        public int CircleName { get; set; }
        public string GenderName { get; set; }
        public int AgeFrom { get; set; }
        public int AgeTo { get; set; }
        public string Orderby { get; set; }
        public string Direction { get; set; }
        public Boolean IsSearchAllHelloMinasan { get; set; }
        public Boolean IsFinder { get; set; }
        public int NumberPerRow { get; set; }
        public bool IsMemberSearch { get; set; }
        public bool AnyAge { get; set; }
        public bool HasMember { get; set; }
    }
}